<!-- 保证金 index -->
<template>
	<view class="content" style="height: 100%;">
		<BaseNavBar :isnormal="false" title="缴纳保证金" />
		<view class="body">
			<view class="" v-if="status==0">支付保证金将点亮保证金标识，增加客户选择概率。保证金可退回。</view>
			<view class="" v-if="status==1">申请退还保证金，管理员在5-10个工作日内审核后将原路退回。</view>
			<view class="" v-if="status==2">请耐心等待管理员审核。</view>
			<view class="pay-con">
				<view>保证金:{{price}}元</view>
				<view class="page-btn" v-if="status==0">支付</view>
				<view class="page-btn" v-if="status==1">申请退还</view>
				<view class="page-btn" v-if="status==2">撤回退还</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				status: 0,
				price: 0,
			}
		},
		methods: {
			goDetail(price){
				debugger
				uni.navigateTo({
					url: "/pages/home/home?pirce=" + price
				})
			}
		},
		onLoad(options) {
			console.log(options,'options')
			this.price = options.price
		}
	}
</script>

<style>
.body{
	padding: 30px;
	font-size: 16px;
}
.pay-con{
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
</style>
